package com.dgut.service;

import com.dgut.pojo.LegalRecourse;
import com.dgut.pojo.OrderGrabbing;
import com.dgut.utils.PageRequestInfo;


public interface LegalRecourseService {
    /**
     * start-zwb
     */
      //采买方获取法律求助列表
      public Object getLegalRecourseListToBuyer(PageRequestInfo pageRequestInfo,LegalRecourse legalRecourse);
      //服务商获取法律求助列表
      public Object getLegalRecourseListToServiceProvider(PageRequestInfo pageRequestInfo,String title,String state);
      public Object getOrderGrabbingList(PageRequestInfo pageRequestInfo,Integer id);//根据法律求助id获取抢单表
      public Object grabOrder(OrderGrabbing orderGrabbing);//添加抢单
      public Object selectServiceProvider(Integer id);//选择服务商
      public Object getLegalRecourseById(Integer id);//根据id获取法律求助
      public Object addLegalRecourse(LegalRecourse legalRecourse);//添加法律求助
      public Object modifyLegalRecourse(LegalRecourse legalRecourse);//修改法律求助
      public Object deleteLegalRecourse(Integer id);//删除法律求助
      public Object putOnLegalRecourse(Integer id);//发布法律求助
      public Object takeDownLegalRecourse(Integer id);//取消发布法律求助
    /**
     * end-zwb
     */
}
